import axios from '@/utils/axios'
//发送验证码
export function send(data) {
	return axios({
		url:'/api/Sms/send',
		method: 'post',
		data: data,		
	})
}
//验证码验证
export function check(data) {
	return axios({
		url:'/api/Sms/check',
		method: 'post',
		data: data,		
	})
}
//根据code获取openid
export function wxLogin(data) {
	return axios({
		url:'/api/hfmp/wxLogin',
		method: 'post',
		data: data,		
	})
}
//根据code获取openid
export function clhk(data) {
	return axios({
		url:'/api/clhk/subOrder',
		method: 'post',
		data: data,		
	})
}

//优酷创建订单
export function youku(data) {
	return axios({
		url:'/api/youku/subOrder',
		method: 'post',
		data: data,		
	})
}
export function getLog(data) {
	return axios({
		url: '/api/rf/getLog',
		method: 'post',
		data: data,		
	})
}
//微信换openid
export function getAliUseridHjk(data) {
	return axios({
		url: '/api/rf/getAliUseridHjk',
		method: 'post',
		data: data,		
	})
}

//日志添加
export function addLog(data) {
	return axios({
		url:'/api/rf/addLog',
		method: 'post',
		data: data,		
	})
}

//创建订单
export function subOrder(data) {
	return axios({
		url:'/api/rf/payAndSign',
		method: 'post',
		data: data,		
	})
}
//获取手机所在城市
export function getYys(data) {
	return axios({
		url:'/api/jssxk/getYys1',
		method: 'post',
		data: data,		
	})
}
//埋点
export function getMpUrl(data) {
	return axios({
		url: '/api/rf/getMpUrl',
		method: 'post',
		data: data,	
		
	})
}
export function status(data) {
	return axios({
		url: '/api/alipayad/status',
		method: 'post',
		data: data,	
		
	})
}

